//
//  HXHomeSettingCollectionViewCell.m
//  爱鲜蜂
//
//  Created by 洪东恒 on 16/4/3.
//  Copyright © 2016年 建国. All rights reserved.
//

#import "HXHomeSettingCollectionViewCell.h"
#import <UIImageView+WebCache.h>

@interface HXHomeSettingCollectionViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *settingImage;

@property (weak, nonatomic) IBOutlet UILabel *settingName;

@end


@implementation HXHomeSettingCollectionViewCell

-(void)setItem:(HDHMeItem *)item{
    
    _item = item;
    [_settingImage sd_setImageWithURL:[NSURL URLWithString:item.icon]];
    
    _settingName.text = item.name;
    
    
    

}



- (void)awakeFromNib {
    // Initialization code
}

@end
